package com.yaodian100.ec.order.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

import com.yaodian100.core.common.entity.CommonEntity;

/**
 * 
 * @author yanling.wu
 * 
 */
@Entity
@Table(name = "CRM_INTERCEPT_ORDER")
public class InterceptOrder extends CommonEntity {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	@Id
	@GeneratedValue(generator = "system-uuid")
	@GenericGenerator(name = "system-uuid", strategy = "uuid")
	@Column(length = 32)
	private String id;
	/**
	 * 外部订单号
	 */
	@Column(name = "OUTER_ORDER_ID", length = 32)
	private String outerOderId;

	/**
	 * 状态
	 */
	@Column(name = "STATE", length = 1)
	private String state;
	/**
	 * 领域
	 */
	@Column(name = "DOMAINSRC", length = 30)
	private String domainSrc;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getOuterOderId() {
		return outerOderId;
	}

	public void setOuterOderId(String outerOderId) {
		this.outerOderId = outerOderId;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getDomainSrc() {
		return domainSrc;
	}

	public void setDomainSrc(String domainSrc) {
		this.domainSrc = domainSrc;
	}

}
